home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / includ~1.z / includ~1 / minix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-02  |  1.3 KB  |  46 lines

  1. /* The <minix.h> header is the master header used by the operating system
  2.  * (kernel, FS, and MM).  All the C files in these three directories include
  3.  * <minix.h>.  It defines a few key symbols and includes headers that just
  4.  * about all the routines need.  Note that the symbols _FS, _MM, and _KERNEL
  5.  * are defined in the respective makefiles.
  6.  */
  7.  
  8. /* First come the defines. */
  9. #define _POSIX_SOURCE      1    /* tell headers to include POSIX stuff */
  10. #define _MINIX             1    /* tell headers to include MINIX stuff */
  11. #define _SYSTEM            1    /* tell headers that this is the kernel */
  12.  
  13. /* The following are so basic, all the *.c files get them automatically. */
  14. #include <minix/config.h>    /* must be first */
  15. #include <sys/types.h>
  16. #include <limits.h>
  17. #include <errno.h>
  18.  
  19. #include <minix/const.h>
  20. #include <minix/type.h>
  21.  
  22. #if 0
  23. /* this is bullshit, absolute pathnames! who taught these people programming */
  24. #ifdef _KERNEL
  25. #include "/usr/src/kernel/const.h"
  26. #include "/usr/src/kernel/type.h"
  27. #include "/usr/src/kernel/proto.h"
  28. #include "/usr/src/kernel/glo.h"
  29. #endif
  30.  
  31. #ifdef _FS
  32. #include "/usr/src/fs/const.h"
  33. #include "/usr/src/fs/type.h"
  34. #include "/usr/src/fs/proto.h"
  35. #include "/usr/src/fs/glo.h"
  36. #endif
  37.  
  38. #ifdef _MM
  39. #include "/usr/src/mm/const.h"
  40. #include "/usr/src/mm/type.h"
  41. #include "/usr/src/mm/proto.h"
  42. #include "/usr/src/mm/glo.h"
  43. #endif
  44.  
  45. #endif
  46.